<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
  <title>卡券记录</title>
  <!-- Bootstrap -->
  <link href="../assets/css/mui.min.css" rel="stylesheet">
  <link href="fonts/iconfont.css" rel="stylesheet">
  <link href="../assets/css/style.css" rel="stylesheet" />
  <link href="../assets/css/boss_content.css" rel="stylesheet" />
</head>

<body>
  <header id="header" class="mui-bar mui-bar-nav">
    <h1 class="mui-title">卡券记录</h1>
    <button class="mui-action-back mui-btn mui-btn-blue mui-btn-link mui-btn-nav mui-pull-left">
      <span class="mui-icon mui-icon-left-nav"></span>返回</button>
      <a class="mui-pull-right headerright"><i class="icon iconfont icon-gengduo"></i></a>
    </header>
    <div class="mui-content">
      <div class="aggregate-time-list mui-row kuaibgColor jy_table_list">
        <div class="mui-col-xs-6 aggregate-time-active">卡券使用记录</div>
        <div class="mui-col-xs-6">卡券领取记录 </div>
      </div>

      <div class="jy_contet_list">
        <div class="aggregate-date">
          <span class="aggregate-date-left"><i class="icon iconfont icon-houdongfangiconfont27"></i></span>
          <span class="aggregate-date-time">2016年12月21日</span>
          <span class="aggregate-date-right"><i class="icon iconfont icon-houdongfangiconfont28"></i></span>
        </div>
        <div class="jifenjilu-content">
          <div class="kqjl-bgcolor mui-row kqjl-items">

            <div class="mui-col-xs-4">
              <div class="font">128</div>
              <div class="font_color">共使用(张)</div>
            </div>
            <div class="mui-col-xs-4">
              <div class="font">24410.00</div>
              <div class="font_color">总金额(张)</div>
            </div>
            <div class="mui-col-xs-4">
             <div class="font">80%</div>
             <div class="font_color">卡券使用率</div>
           </div>

         </div>
       </div>

       <div class="coupon-list">
        <div class="coupon-item">
          <div class="preferential-jine">
            <div class="preferential-num">20元</div>
            <div class="preferential-title">现金券</div>
          </div>
          <div class="use-term">

            <div class="useterm-date">已领使用22张</div>
          </div>
        </div>

        <div class="coupon-item">
          <div class="preferential-jine">
            <div class="preferential-num">20元</div>
            <div class="preferential-title">现金券</div>
          </div>
          <div class="use-term">

            <div class="useterm-date">已领使用22张</div>
          </div>
        </div>

        <div class="coupon-item">
          <div class="preferential-jine">
            <div class="preferential-num">20元</div>
            <div class="preferential-title">现金券</div>
          </div>
          <div class="use-term">

            <div class="useterm-date">已领使用22张</div>
          </div>
        </div>

        <div class="coupon-item">
          <div class="preferential-jine">
            <div class="preferential-num">20元</div>
            <div class="preferential-title">现金券</div>
          </div>
          <div class="use-term">

            <div class="useterm-date">已领使用22张</div>
          </div>
        </div>

      </div>
    </div>
    <div class="jy_contet_list hidden">
      <div class="aggregate-date">
        <span class="aggregate-date-left"><i class="icon iconfont icon-houdongfangiconfont27"></i></span>
        <span class="aggregate-date-time">2016年12月20日</span>
        <span class="aggregate-date-right"><i class="icon iconfont icon-houdongfangiconfont28"></i></span>
      </div>
      <div class="jifenjilu-content">
        <div class="kqjl-bgcolor mui-row kqjl-items">

          <div class="mui-col-xs-4">
            <div class="font">128</div>
            <div class="font_color">共使用(张)</div>
          </div>
          <div class="mui-col-xs-4">
            <div class="font">24410.00</div>
            <div class="font_color">总金额(张)</div>
          </div>
          <div class="mui-col-xs-4">
           <div class="font">80%</div>
           <div class="font_color">卡券使用率</div>
         </div>

       </div>
     </div>

     <div class="coupon-list">
      <div class="coupon-item">
        <div class="preferential-jine">
        <div class="preferential-num">40元</div>
          <div class="preferential-title">现金券</div>
        </div>
        <div class="use-term">

          <div class="useterm-date">已领取22张</div>
        </div>
      </div>

      <div class="coupon-item">
        <div class="preferential-jine">
        <div class="preferential-num">40元</div>
          <div class="preferential-title">现金券</div>
        </div>
        <div class="use-term">

          <div class="useterm-date">已领取22张</div>
        </div>
      </div>

      <div class="coupon-item">
        <div class="preferential-jine">
        <div class="preferential-num">40元</div>
          <div class="preferential-title">现金券</div>
        </div>
        <div class="use-term">

          <div class="useterm-date">已领取22张</div>
        </div>
      </div>

      <div class="coupon-item">
        <div class="preferential-jine">
        <div class="preferential-num">40元</div>
          <div class="preferential-title">现金券</div>
        </div>
        <div class="use-term">

          <div class="useterm-date">已领取22张</div>
        </div>
      </div>
    </div>
  </div>
  <script src="../assets/js/jquery.min.js"></script>
  <script src="../assets/js/mui.js"></script>
  <script type="text/javascript">
      // table切换选中第几个下面的第几个div显现
      $('.jy_table_list div').on('click', function() {
        var index = $(this).index();
        $('.jy_table_list div').removeClass("aggregate-time-active")
        $('.jy_table_list div').eq(index).addClass("aggregate-time-active")
        $('.jy_contet_list').addClass('hidden')
        $('.jy_contet_list').eq(index).removeClass("hidden")
      })
    </script>
  </body>

  </html>